package perform.query;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import perform.type.Type;

public interface Query {
	
	public String getQuery();
	
	public PreparedStatement getPreparedStatement();
	
	public int executeUpdate() throws SQLException;
	
	public ResultSet executeQuery() throws SQLException;
	
	public void close() throws SQLException;
	
	public void setGeneratedKey(Type type) throws Exception;

}
